#ifndef APP_H
#define APP_H

#include <Ogre.h>
#include "OgreFramework.h"
#include "GameView.h"
#include "Game.h"


const float DEFK_SENSITIVITY = 1.0;
class App : public OIS::KeyListener
{
public:
	App();
	virtual ~App();

	void Start();

	bool keyPressed(const OIS::KeyEvent &keyEventRef);
	bool keyReleased(const OIS::KeyEvent &keyEventRef);
	void Render(double timeSinceLastFrame);
	void Run();
	void Accelerated(double x, double y, double z, double timeSinceLastFrame);
protected:
private:
;
	//Ogre::Root*         m_root;
	//Ogre::RenderWindow* m_window;
	//Ogre::SceneManager* m_sceneManager;
	//Ogre::Camera*       m_camera;

	Game*               m_game;
	GameView*           m_gameView;
	bool				m_bShutdown;
};

#endif // APP_H
